import request from '@/utils/request'

export const loginAPI = (data) => { return request.post('/sys/login', data) }

// 获取用户资料
export const getUserInfoAPI = () => {
  return request.get('/sys/profile')
}

// 修改用户密码
export const updatePasswordAPI = (data) => request.put('/sys/user/updatePass', data)
